import { createApp } from "vue";
import "./style.css";
import "./assets/font/iconfont.css";
import App from "./App.vue";
import "amfe-flexible";
import store from "./store";
import "@vueup/vue-quill/dist/vue-quill.snow.css";
import "@vueup/vue-quill/dist/vue-quill.bubble.css";
import "@vueup/vue-quill/dist/vue-quill.core.css";
import {
  Button,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Image as VanImage,
  Icon,
  PullRefresh,
  Toast,
  RadioGroup,
  Radio,
  Checkbox,
  CheckboxGroup,
  Field,
  DatePicker,
  Popup,
  List,
  CellGroup,
  Uploader, 
} from "vant";
import router from "./router";
import "vant/lib/index.css";
import { setToken } from "./utils/token";
let app = createApp(App);
app.use(store);
app.use(Button);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Swipe);
app.use(SwipeItem);
app.use(VanImage);
app.use(Icon);
app.use(PullRefresh);
app.use(Toast);
app.use(RadioGroup);
app.use(Radio);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(CellGroup);
app.use(Field);
app.use(DatePicker);
app.use(Popup);
app.use(Uploader);

app.use(List);
app.use(router);
app.mount("#app");
